<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="utf-8">
	<title>test-t-io-demo</title>
	<script src="/res/jquery/jquery.js"></script>

	<script src="/myres/util.js"></script>
	<script src="/res/tio_js/tiows.js"></script>
	<script src="/res/tio_js/tiocookie.js"></script>
	<script src="/res/tio_js/tiows.js"></script>
	<script src="/myres/common.js"></script>

	<script src="/im/site/SiteImCommand.js" type="text/javascript" ></script>
	<script src="/im/site/SiteImHandler.js" type="text/javascript" ></script>
	<script src="/im/site/SiteImBsHandler.js" type="text/javascript" ></script>
	<script src="/im/site/siteim.js" type="text/javascript" ></script>



</head>
<body>
<input id="msgContent" type="text" placeholder="消息内容"></br>
<input type="button" value="send" onclick="sendMsg()">
<script>

	var sendMsg = function(){
		var messageModel = {
			id:1,
			content:$('#msgContent').val(),
			toid:2
		}
		siteim.send(SiteImCommand.LXF_REQ,messageModel);
	}

</script>
</body>
</html>